home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1025 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: informatik.uni-tuebingen.de!not-for-mail
  2. From: "Reinhard Katzmann" <Suamor@student.uni-tuebingen.de>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: SetAttrsA() with BGUI
  5. Date: Wed, 10 Jan 1996 00:43:10 -0500
  6. Organization: Technische Informatik, Uni Tuebingen
  7. Distribution: world
  8. Message-ID: <68245056%suamor@student.uni-tuebingen.de>
  9. References: <686.6582T1438T1833@mailbox.swipnet.se>
  10. Reply-To: "suamor" <suamor@student.uni-tuebingen.de>
  11. NNTP-Posting-Host: gw192.informatik.uni-tuebingen.de
  12. X-NewsReader: IntuiNews 1.3a (7.9.95)
  13.  
  14. Daniel Adolfsson schrieb in comp.sys.amiga.programmer ueber "SetAttrsA()
  15. with BGUI":
  16. > I'm working on a program in Amiga-E using the BGUI.library.
  17. >
  18. > My problem I have is that the following line doesn't update the checkbox
  19. > (making it selected and disabled) until I resize the window or put it
  20. > behind another window and then to front again (i.e. when it gets
  21. > refreshed):
  22. >
  23. > SetAttrsA(chk_intl,[GA_SELECTED,1,GA_DISABLED,1,TAG_END])
  24.  
  25. Well as far as I remember (on usual boopsi gadgets) either you choose
  26. SetGadgetsAttrs() or SetAttrs() and (if it involves a change in the
  27. gadget imagery) make an update to the Gadgets with RefreshGadgets().
  28. For BGUI I don't know if gadgets are handled the same way (i.e. still
  29. in a list) so either trial&error or ask Jan van den Baard :)
  30.  
  31. > Should I refresh it myself somehow? (for example, the included example-
  32. > program "BGUIPlayer" doesn't refresh anything itself (as far as I can
  33. > see).
  34. >
  35. > Have tried SetGadgetAttrsA() too..
  36.  
  37. And it didn't work ? Can't imagine.. If yes, parhabs a bug in BGUI.lib ?
  38.  
  39. - Reinhard Katzmann
  40.  
  41. ---
  42. E-Mail: suamor@student.uni-tuebingen.de
  43.  
  44. One day I hope to finish my RPS Pertergrin
  45. Concept for Pertergin (yet in german) avalaible on Request
  46. Current Amiga-Project: GuideTool (GUI) V1.1BETA
  47.  
  48.